package com.sxkiler.demo.vo;

import java.io.Serializable;

/**
 * 慢接口统计
 */
public class SlowInterfaceVo implements Serializable {

    private static final long serialVersionUID = 8156762078894852785L;
    //id
    private String id;
    //应用名称
    private String application;
    //请求的url
    private String url;
    //最小执行时间
    private double totalCount;
    //平均执行时间
    private double avgExecTime;
    //最大执行时间
    private double maxExecTime;
    //最小执行时间
    private double minExecTime;
    //平均执行时间
    private double slowAvgTime;
    //累计请求数
    private int slowTotalCount;
    //统计日期
    private String statisticDate;
    //创建时间
    private String craeteTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public double getMaxExecTime() {
        return maxExecTime;
    }

    public void setMaxExecTime(double maxExecTime) {
        this.maxExecTime = maxExecTime;
    }

    public double getMinExecTime() {
        return minExecTime;
    }

    public void setMinExecTime(double minExecTime) {
        this.minExecTime = minExecTime;
    }

    public double getAvgExecTime() {
        return avgExecTime;
    }

    public void setAvgExecTime(double avgExecTime) {
        this.avgExecTime = avgExecTime;
    }

    public String getStatisticDate() {
        return statisticDate;
    }

    public void setStatisticDate(String statisticDate) {
        this.statisticDate = statisticDate;
    }

    public String getCraeteTime() {        return craeteTime;    }

    public void setCraeteTime(String craeteTime) {        this.craeteTime = craeteTime;    }

    public double getTotalCount() {        return totalCount;    }

    public void setTotalCount(double totalCount) {        this.totalCount = totalCount;    }

    public double getSlowAvgTime() {        return slowAvgTime;    }

    public void setSlowAvgTime(double slowAvgTime) {        this.slowAvgTime = slowAvgTime;    }

    public int getSlowTotalCount() {        return slowTotalCount;    }

    public void setSlowTotalCount(int slowTotalCount) {        this.slowTotalCount = slowTotalCount;    }

    @Override
    public String toString() {
        return "SlowInterfaceVo{" +
                "id='" + id + '\'' +
                ", application='" + application + '\'' +
                ", url='" + url + '\'' +
                ", totalCount=" + totalCount +
                ", avgExecTime=" + avgExecTime +
                ", maxExecTime=" + maxExecTime +
                ", minExecTime=" + minExecTime +
                ", slowAvgTime=" + slowAvgTime +
                ", slowTotalCount=" + slowTotalCount +
                ", statisticDate='" + statisticDate + '\'' +
                ", craeteTime='" + craeteTime + '\'' +
                '}';
    }
}
